package cn.template.serve_project.whitelist;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "file-upload")
@Data
public class FileProperties {
    private List<String> blacklistedExtensions;

    public List<String> getBlacklistedExtensions() {
        return blacklistedExtensions;
    }

    public void setBlacklistedExtensions(List<String> blacklistedExtensions) {
        this.blacklistedExtensions = blacklistedExtensions;
    }
}
